<template>
  <el-card shadow="never">
    <CardTitle title="机制" />
    <el-row>
      <el-col :span="24" class="mt5">
        <el-descriptions :column="3">
          <el-descriptions-item v-for="item in data" :key="item.id">
            <template #label>
              <descriptions-item-label :label="item.time + '个月'" />
            </template>
            {{ item.money }} 元
          </el-descriptions-item>
        </el-descriptions>
      </el-col>
    </el-row>
  </el-card>
</template>
<script setup lang="ts">
import * as MemberLevelApi from '@/api/blind/memberLevel'
import { DescriptionsItemLabel } from '@/components/Descriptions/index'

const { data } = defineProps<{ data: MemberLevelApi.MemberLevelVO }>()
</script>
<style scoped lang="scss">
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
